<?php
/* @var \Illuminate\Routing\Router $router */
$middlewares = [];
if (class_exists(\Module\Member\Middleware\ApiAuthMiddleware::class)) {
    $middlewares[] = \Module\Member\Middleware\ApiAuthMiddleware::class;
}
$router->group([
    'middleware' => $middlewares,
], function () use ($router) {

    $router->match(['get','post'], 'down_content/paginate', 'DownContentController@paginate');
    $router->match(['get','post'], 'down_content/get', 'DownContentController@get');
    $router->match(['get','post'], 'down_content/save', 'DownContentController@save');
    $router->match(['get','post'], 'down_content/first', 'DownContentController@first');
    $router->match(['get','post'], 'down_content/test', 'DownContentController@test');
    $router->match(['get','post'], 'down_content/sync_down_ai_json', 'DownContentController@sync_down_ai_json');
    $router->match(['get','post'], 'down_content/get_tag_by_softname', 'DownContentController@get_tag_by_softname');
    $router->match(['get','post'], 'down_content/keysugg_softsize', 'DownContentController@keysugg_softsize');
	
	
    $router->match(['get', 'post'], 'ai/push_content', 'AiController@push_content');
    $router->match(['get', 'post'], 'ai/callback_content', 'AiController@callback_content');
    $router->match(['get', 'post'], 'ai/check_keyword_by_baidu', 'AiController@check_keyword_by_baidu');
	
    $router->match(['get', 'post'], 'zhuanji/zj_ai_content', 'ZhuanjiController@zj_ai_content');
    $router->match(['get', 'post'], 'zhuanji/callback_zj_content', 'ZhuanjiController@callback_zj_content');
    $router->match(['get', 'post'], 'zhuanji/get_zj_image', 'ZhuanjiController@get_zj_image');
    $router->match(['get', 'post'], 'zhuanji/send_zj', 'ZhuanjiController@send_zj');

});




